<template>
  <div>
    <Swiper>
      <swiper-item v-for="(item,key) in banner" :key="key">
        <a :href="item.link">
          <img :src="item.image" alt />
        </a>
      </swiper-item>
    </Swiper>
  </div>
</template>

<script>
import { Swiper, SwiperItem } from "components/common/swiper";
export default {
  data() {
    return {};
  },
  props: {
    banner: {
      type: Array,
      default() {
        return [];
      },
    },
  },
  components: {
    Swiper,
    SwiperItem,
  },
};
</script>

<style scoped>
</style>
